First-Class Extents
نویسندگان
چکیده
Adding environments as rst-class values to a language can greatly enhance its expressiveness. But rst-class environments do not mesh well into a lexically scoped language since they rely on identi ers (variable names). By distinguishing variables from identi ers and therefore extents from environments, we present an alternative: rst-class extents. First-class extents are de ned on variables rather than identi ers and are therefore immune to name capturing problems that plague rst-class environments. Then by distinguishing variables from locations and therefore extents from stores, our rst-class extents can coexist with imperative features and still allow tail-recursion to be properly implemented as iteration. To test our claims, we extend Scheme with a collection of features that are essential to rst-class extents, give a denotational semantics for the extension, and demonstrate that it can be fully embedded into Scheme albeit losing tail-recursiveness. Then we show how rst-class extents lead to a way of extending Scheme with object-oriented programming features.
منابع مشابه
First - Class
Adding environments as first-class entities to a language can greatly enhance its expressiveness. But first-class environments rely on identifiers, the syntax of variables, and thus do not mesh well with lexically-scoped languages. We present first-class extents as an alternative. First-class extents are founded upon lexical variables with dynamic extent. They are defined directly on the variab...
متن کاملFirst - Class ExtentsShinn - Der Lee and Daniel
Adding environments as rst-class values to a language can greatly enhance its expressiveness. But rst-class environments do not mesh well into a lexically scoped language since they rely on identiiers (variable names). By distinguishing variables from identiiers and therefore extents from environments, we present an alternative: rst-class extents. First-class extents are deened on variables rat...
متن کاملAn Algebraic Approach to Materialized Views Maintenance in Object Databases
View materialization is an important technique for data warehousing, high performance query processing, and OLAP. Materialized views (MVs) are derived from base extents that may not be local. Queries can be answered using MVs more quickly than using the base extents. However, MVs may be affected by updates to the base extents. MVs can either be re-computed or incrementally updated to reflect th...
متن کاملFlood Extent Prediction from Lake Heights and Water Level Estimation from Flood Extents Using River Gauges, Elevation Models and Envisat Data
Water levels and water extents are essential information in flood monitoring and forecasting. Two experimental and complementary ways were explored in order to estimate water level and water extent and forecast them: 1) The estimation of water level through combining water extents derived from earth observation data with elevation from a Digital Elevation Model; 2) The estimation of flood exten...
متن کاملDiscrimination of tRNA(Leu) isoacceptors by the mutants of Escherichia coli leucyl-tRNA synthetase in editing.
Leucyl-tRNA synthetase (LeuRS), one of the class Ia aminoacyl-tRNA synthetases, joins Leu to tRNA(Leu) and excludes noncognate amino acids in protein synthesis. In this study, Escherichia coli LeuRS mutants at amino acid E292, which was located in the connective polypeptide 1 insertion region, were synthesized. Although mutated LeuRS showed little change in structure compared with wild-type Leu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Lisp and Symbolic Computation
دوره 5 شماره
صفحات -
تاریخ انتشار 1992